package com.code.day10.test02;

public class Test01 {
    public static void main(String[] args) {
        Bear bear = new Bear("white", 4);
        Panda panda = new Panda("white&black", 4);
        bear.eat();
        bear.catchFish();
        panda.eat();
        panda.climbTree();

        System.out.println( bear.toString());
        System.out.println( panda.toString());
    }
}
